/*
 *    Copyright (c) 2023 李伟国
 *    moyu is licensed under Mulan PSL v2.
 *    You can use this software according to the terms and conditions of the Mulan PSL v2.
 *    You may obtain a copy of Mulan PSL v2 at:
 *             http://license.coscl.org.cn/MulanPSL2
 *    THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
 *    See the Mulan PSL v2 for more details.
 */

package cn.moyu.conf.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * Kettle初始化配置
 */

@Data
@Component
@ConfigurationProperties(
        prefix = "moyu.kettle.init-conf"
)
public class MoyuKettleInitProperties {
    /**
     * kettle的家目录，在kettle初始化后会在此目录生成配置文件
     */

    private String workHome = "./kettle_home";

    /**
     * JNDI的根目录，JNDI的配置文件在此处放置
     */
    private String jndiRoot = "./kettle_home/simple-jndi";
}
